package edu.sctu.practice.class02.shuqiqi.text20;

import edu.sctu.practice.class02.shuqiqi.test21.Vehicle;

/**
 * Created by admin on 2015/11/3.
 */
public class Main {
    public static void main(String[] args) {

        Motorbike motorbike = new Motorbike(2, "biack");
        System.out.println("Motorbike");
        motorbike.NoOfWheels();
        motorbike.display();
        System.out.println("***********************");


        Car car = new Car(4, "red");
        System.out.println("Car");
        car.display();
        car.NoOfWheels();
    }


}
